#include <stdio.h>
#include <stdlib.h>

#include "set.h"

int main() {
  struct set* s = set__empty();

  // Put all letters with even ASCII code in s
  int c;
  for (c = 32; c <= 255; c=c+2)
    set__add(s, (char)c);

  // Prints the size of s
  printf("Size of s: %zu\n", set__size(s));

  // Checks if character #120 is in s
  if (! set__find(s, 120))
    printf("*** Error: #120 not found\n");

  set__free(s);

  return EXIT_SUCCESS;
}
